package com.supcon.exchangedata.pojo.entity.mysql.operation.gj;

import lombok.Data;

import javax.persistence.*;
import java.time.LocalDateTime;

/**
 * Created with IntelliJ IDEA.
 * @Author: yangbin
 * @Date: 2022/12/26/9:16
 * @Description: 
 */
/**
    * 公交日运营信息
    */
@Entity
@Data
@Table(name = "t_bus_daily_amount", schema = "hzcjtz_bus_coll", catalog = "")
public class TBusDailyAmount {
    private Long tongid;

    /**
    * 数据插入时间
    */
    @Column(name = "tong_time")
    private LocalDateTime tongTime;

    /**
    * 业务库数据产生时间
    */
    @Column(name = "biz_time")
    private LocalDateTime bizTime;

    /**
    * 增量数据操作字段
    */
    @Column(name = "op")
    private String op;
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Id
    @Column(name = "id")
    private Integer id;

    /**
    * 日期
    */
    @Column(name = "date_time")
    private LocalDateTime dateTime;

    /**
    * 运营里程
    */
    @Column(name = "operation_mileage")
    private String operationMileage;

    /**
    * 发车车次
    */
    @Column(name = "car_amount")
    private Integer carAmount;

    /**
    * 客运量
    */
    @Column(name = "passenger_amount")
    private String passengerAmount;
}